<!DOCTYPE html>
<html>
<head>
    <title>提现管理</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <Row :gutter="16">
            <i-col span="4">
                <i-input v-model="q.phone" @on-enter="query" placeholder="会员手机"/>
            </i-col>
            <i-col span="4">
                <i-input v-model="q.nickName" @on-enter="query" placeholder="会员昵称"/>
            </i-col>

            <i-col span="4">
                <i-input v-model="q.alipayName" @on-enter="query" placeholder="账号名称"/>
            </i-col>
            <i-button @click="query">查询</i-button>
            #if($shiro.hasPermission("apiwithdrawbill:update"))
            <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;审核详情</i-button>
            #end
        </Row>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
        <i-form ref="formValidate" :model="apiWithdrawBill" :rules="ruleValidate" :label-width="80">

            <Form-item label="提现金额" prop="amount">
                <i-input v-model="apiWithdrawBill.amount" disabled placeholder=""/>
            </Form-item>
            <Form-item label="账号名称" prop="alipayName">
                <i-input v-model="apiWithdrawBill.alipayName" disabled placeholder="支付宝名称"/>
            </Form-item>
            <Form-item label="提现账号" prop="alipayNo">
                <i-input v-model="apiWithdrawBill.alipayNo" disabled placeholder="支付宝账号"/>
            </Form-item>
            <Form-item label="申请时间" prop="createDate">
                <i-input v-model="apiWithdrawBill.createDate" disabled placeholder=""/>
            </Form-item>
            <Form-item label="处理时间" prop="payDate">
                <i-input v-model="apiWithdrawBill.payDate" disabled placeholder=""/>
            </Form-item>
            <Form-item label="审核信息" prop="remark">
                <i-input v-model="apiWithdrawBill.remark" type="textarea" :rows="4" placeholder="备注信息，方便校对查询"/>
            </Form-item>
            <Form-item label="审核状态" prop="status">
                <Radio-group v-model="apiWithdrawBill.status" type="button">
                    <Radio label="2">
                        <span>提现成功</span>
                    </Radio>
                    <Radio label="1">
                        <span>提现失败</span>
                    </Radio>
                </Radio-group>
            </Form-item>
            <Form-item>
                <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>
                返回</i-button>
            </Form-item>
        </i-form>
    </Card>
    <div id="staticAuding" style="display: none;padding:10px;">
        <i-form :model="apiWithdrawBill" :label-width="100">
            <Form-item label="审核信息" prop="remark">
                <i-input v-model="apiWithdrawBill.remark" type="textarea" :rows="4" placeholder="备注信息，方便校对查询"/>
            </Form-item>
            <Form-item label="审核状态" prop="status">
                <Radio-group v-model="apiWithdrawBill.status">
                    <Radio label="2">
                        <span>提现成功</span>
                    </Radio>
                    <Radio label="1">
                        <span>提现失败</span>
                    </Radio>
                </Radio-group>
            </Form-item>
        </i-form>
    </div>
</div>

<script src="${rc.contextPath}/js/connection/apiwithdrawbill.js?_${date.systemTime}"></script>
</body>
</html>